<!DOCTYPE html>
<html lang="en">
    <head>
        {include file="public/header"}
        <title>项目查看</title>
    </head>
    <body>
        <div class="wrapper">
	        {include file="public/nav"}  
	        <div id="page-wrapper" style="min-height: 325px;">
	            <div class="row">
		            <div class="col-lg-4">
		                <h3 class="page-header">项目查看</h3>                        
		            </div>
	            </div>
	            <div class="row">
                    <div class="col-lg-12 col-sm-12">
                        <div class="tools text-right">
                            <a href="javascript:window.location.reload()" class="btn btn-primary"><span class="fa fa-refresh"></span></a>
                        </div>
                    </div>
                    <div class="col-lg-12 col-sm-12">
                    <table width="100%" class="table table-striped table-bordered table-hover">
                        <thead>
                            <tr>
                                <th>名称</th>
                                <th>排序</th>
                                <th>等级</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            {volist name="data" id="d"}
                            <tr>
                                <td>{$d.pro_name}</td>
                                <td>{$d.pro_sort}</td>
                                <td>
                                    {switch name="d.pro_grade"}
                                    {case value="1"}初级{/case}
                                    {case value="2"}中级{/case}
                                    {case value="3"}高级{/case}
                                    {/switch}
                                </td>
                                <td>
                                    <a href="/index.php/admin/project/edit.html?id={$d.pro_id}" target="_blank" class="btn btn-primary">编辑</a>
                                    <a href="javascript:;" class="btn btn-danger" data-id="{$d.pro_id}" onclick="edu.remove(this)">删除</a>

                            </tr>
                            
                            {/volist}
                        </tbody>
                    </table>

		        </div>
	        </div>
	    </div>
        </div>
        {include file="public/board" /}
        {include file="public/javascript" /}
        {include file="public/jqueryform" /}
        <script type="text/javascript" src="/admin/vendor/ue/ueditor.config.js"></script>
        <script type="text/javascript" src="/admin/vendor/ue/ueditor.all.js"></script>
        <script type="text/javascript" src="/admin/script/project/index.js"></script>
    </body>
</html>
